<template>
  <div>
    <div ref="containerRef"></div>
  </div>
</template>

<script setup lang="ts">
import { onMounted, ref } from 'vue'
import initPage from './topological.js'

const containerRef = ref(null)

onMounted(() => {
  initPage(containerRef.value, (params) => {
    console.log('点击事件', params)
  })
})
</script>

<style scoped lang="scss"></style>
